package itcz.example.pattern.structure_type.bridge.demo_AI;

/**
 * @ClassName: Latte
 * @Author: ITCZ
 * @Date: 2025-07-27
 * @Description: 修正抽象化角色：具体咖啡类型
 */
public class Latte extends Coffee {

    public Latte(Size size) {
        super(size);
    }

    @Override
    public void order() {
        System.out.print("拿铁咖啡 - ");
        size.applySize();
    }
}
